package com.hz.interfaces.user.inf;

import java.util.List;

import com.hz.base.beans.vo.CommonResult;
import com.hz.base.beans.vo.PageEntity;
import com.hz.base.beans.vo.QueryParams;
import com.hz.beans.user.entity.TCounselling;
import com.hz.beans.user.entity.TReply;
import net.sf.json.JSONObject;

/**
 * ITReplyService
 * @author mcz
 * @since [0.0.1]
 * @version [0.0.1,2018年10月19日]
 */
public interface ITReplyInterface {


	/**
	 * @Author mcz
	 * @Description  自定义添加回复咨询
	 * @Date 2018/10/19 16:00
	 * @Param  TReply tReply 回复实体类,Long consID咨询id
	 * @return 
	 **/
	String addTReplyConsu(TReply tReply,Long consID);

	/**
	 * @Author mcz
	 * @Description  自定义添加回复的回复
	 * @Date 2018/10/19 16:00
	 * @Param  JSONObject object {"replyPid":"50","conId":"34","content":"14141414"} 回复对象的id，该回复所在的咨询id，回复内容
	 * @return
	 **/
	String addTReply2Reply(JSONObject object);
     /**
     * @Author mcz
     * @Description  获取回复提问对话集合
     * @Date 2018/10/24 10:45
     * @Param 
     * @return 
     **/
     List<TReply> queryTReplyAndQuesList(TCounselling tCounselling);

	CommonResult<TReply> addTReply(TReply tReply);

	CommonResult<List<TReply>> queryTReplyList(QueryParams<TReply> queryParams);

	CommonResult<TReply> queryTReply(Long id);

	CommonResult<TReply> updateTReply(TReply tReply);

	CommonResult<Object> deleteTReplyArray(Long[] ids);

	CommonResult<PageEntity> queryForPage(QueryParams<TReply> queryParams);
	
	CommonResult<TReply> insertSelective(TReply tReply);
	
	CommonResult<Object> deleteByList(List<TReply> tReplyList);
	
	CommonResult<List<TReply>> batchUpdate(List<TReply> tReplyList);
	
	CommonResult<List<TReply>> batchSave(List<TReply> tReplyList);
	
}
